import cookie from 'js-cookie';

// 获取Cookie
export function getCookie (key:string) {
  return cookie.get(key);
}

// 设置Cookie
export function setCookie (key:string, val:any) {
  cookie.set(key, val);
}

// 移除Cookie
export function removeCookie (key:string) {
  cookie.remove(key);
}
